package com.zhuxiaomei.entity.user;

import com.zhuxiaomei.entity.base.BaseEntity;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.persistence.Column;
import javax.persistence.GeneratedValue;
import javax.persistence.Id;
import javax.persistence.Table;
import java.time.LocalDate;
import java.time.LocalDateTime;
import java.util.Date;

/**
 * 表名：couples
*/
@Table(name = "couples")
@Data
@NoArgsConstructor
@AllArgsConstructor
@Builder
public class Couple extends BaseEntity {

    /**
     * 组合名称
     */
    @Column(name = "couples_name")
    private String couplesName;

    /**
     * 男方id
     */
    @Column(name = "man_id")
    private Long manId;

    /**
     * 女方id
     */
    @Column(name = "woman_id")
    private Long womanId;

    /**
     * 第一次见面时间
     */
    @Column(name = "first_meet_day")
    private LocalDate firstMeetDay;

    /**
     * 恋爱确定日
     */
    @Column(name = "confirm_love_day")
    private LocalDate confirmLoveDay;

    /**
     * 结婚纪念日
     */
    @Column(name = "wedding_day")
    private LocalDate weddingDay;

    /**
     * 背景板图片路径
     */
    @Column(name = "background_pic")
    private String backgroundPic;

}